Ext.define('App.main.view.Viewport', {
    extend: 'Ext.panel.Panel',
    alias: 'widget.Viewport',
    layout: 'border',
    requires: ['App.main.view.BarChartDemo',
        'App.main.view.LineChartDemo'],
    items: [
        {
            xtype: 'tabpanel',
            region: 'center',
            items: [
                {
                    title: '柱状图示例',
                    xtype: 'BarChartDemo',
                    region: 'center', height: 400
                },
                {
                    title: '线图示例',
                    xtype: 'LineChartDemo',
                    region: 'center', height: 400
                }]
        }
    ]
})